# -*- coding: utf-8 -*-
# @Time    : 2024/2/1 22:02
# @Author  : micah
# @File    : 13.页面的前进和后退.py
# @Software: PyCharm


import time
from selenium_browser_object import browser

browser.get('https://www.jd.com')
time.sleep(2)

browser.get('https://ganji.com')
time.sleep(2)

# 后退
browser.back()
time.sleep(1)

# 前进
browser.forward()
time.sleep(1)

browser.quit()
